package com.abc.base.obj;

public class Son extends Father {

   int age = f3();
   int f3(){
      System.out.println("Son成员变量age加载");
      return 4;
   }

   static int id=f4();
   static int f4(){
      System.out.println("Son静态成员变量id加载");
      return 6;
   }
   public Son() {
      System.out.println("Son构造函数加载");
   }

   {
      System.out.println("Son方法块加载");
   }
   static {
      System.out.println("Son静态方法快加载");
   }

   void run(){
      System.out.println("Son成员函数加载");
   }
   static void walk(){
      System.out.println("Son静态成员函数加载");
   }
}